package com.example.wacoffee_manage.Service;

import com.example.wacoffee_manage.common.PageResult;
import com.example.wacoffee_manage.pojo.Good;

import java.util.List;

public interface goodService {
    PageResult getAllGoods(Good good);

    void add(Good good);

    Good getById(int id);

    void update(Good good);

    void delete(int id);

    List<Good> getAllGood();

    void deleteBatch(List<Long> ids);
}
